import { Analyzer } from './crawler'
export default class HtmlAnalyzer implements Analyzer {
  // 单例模式
  private static instance: HtmlAnalyzer
  static getInstance() {
    if (!HtmlAnalyzer.instance) HtmlAnalyzer.instance = new HtmlAnalyzer()
    return HtmlAnalyzer.instance
  }
  public analyze(rawHtml: string) {
    return rawHtml
  }
  private constructor() {}
}
